package behavior.observer;

public class Test {
    public static void main(String[] args) {
        WeatherData weatherData = new WeatherData(28);
        Sina sina = new Sina();
        weatherData.register(sina);

        weatherData.setTemperature(20);
    }
}
